package com.inkyi.assistant.app.todolist.event;

import com.inkyi.framework.common.lang.InkParams;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class TodoRecordDTO extends InkParams {
    /**
     * ID
     */
    private Long id;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
    /**
     * 父任务ID，用来区分是 待办 还是 步骤
     */
    private Long parentId;
    /**
     * 来源ID，如果是重复的任务，可以查看任务来源，步骤的来源都是0
     */
    private Long sourceId;
    /**
     * 分组ID
     */
    private Long groupId;
    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    private String content;
    /**
     * 优先级
     */
    private Integer priority;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 代办时间
     */
    private LocalDate todoTime;
    /**
     * 提醒时间
     */
    private String reminderTime;
    /**
     * 截止时间
     */
    private String deadline;
    /**
     * 重复规则
     */
    private String repeatRule;
    /**
     * 是否完成
     */
    private Boolean isFinish;
    /**
     * 描述
     */
    private String description;
    /**
     * 待办类型1-待办 2-步骤
     */
    private Integer todoType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public LocalDate getTodoTime() {
        return todoTime;
    }

    public void setTodoTime(LocalDate todoTime) {
        this.todoTime = todoTime;
    }

    public String getReminderTime() {
        return reminderTime;
    }

    public void setReminderTime(String reminderTime) {
        this.reminderTime = reminderTime;
    }

    public String getDeadline() {
        return deadline;
    }

    public void setDeadline(String deadline) {
        this.deadline = deadline;
    }

    public String getRepeatRule() {
        return repeatRule;
    }

    public void setRepeatRule(String repeatRule) {
        this.repeatRule = repeatRule;
    }

    public Boolean getFinish() {
        return isFinish;
    }

    public void setFinish(Boolean finish) {
        isFinish = finish;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getTodoType() {
        return todoType;
    }

    public void setTodoType(Integer todoType) {
        this.todoType = todoType;
    }
}
